package com.link.base.base.clue.service;

import com.link.base.base.clue.model.Clues;
import com.link.core.basic.service.BasicService;

/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  LiYang
 * @date:   2018/11/8 16:49
 * @version 1.0
 */

public interface ClueService extends BasicService<Clues> {

    /**
     * 跟进线索：根据Id跟进线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueFollow(Clues clue) throws Exception;

    /**
     * 撤回线索：根据Id撤回线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueRecall(Clues clue) throws Exception;

    /**
     * 完成线索：根据Id完成线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueFinish(Clues clue) throws Exception;

    /**
     * 取消线索：根据Id取消线索
     *
     * @param clue
     * @throws Exception
     */
    public void clueCancel(Clues clue) throws Exception;

    /**
     * 线索生成客户
     *
     * @param clue
     * @throws Exception
     */
    public void clueToAccount(Clues clue) throws Exception;
}
